
package com.insigma.business.qrcode.soldier._consumer.impl;

import com.insigma.business.qrcode.common.template.BasePagingResponse;
import com.insigma.business.qrcode.common.vo.BaseDeleteRequest;
import com.insigma.business.qrcode.common.vo.BaseResponse;
import com.insigma.business.qrcode.soldier.dto.ExcelResultBO;
import com.insigma.business.qrcode.soldier.dto.PlacementPositionInfoDTO;
import com.insigma.business.qrcode.soldier.dto.SimpleApiRequest;
import com.insigma.business.qrcode.soldier.request.*;
import com.insigma.business.qrcode.soldier._consumer.PlacementPositionInfoConsumer;
import com.insigma.business.qrcode.soldier._provider.PlacementPositionInfoProvider;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;


@Service("placementPositionInfoConsumer")
public class PlacementPositionInfoConsumerImpl implements PlacementPositionInfoConsumer {

    @Resource
    @Lazy
    private PlacementPositionInfoProvider placementPositionInfoProvider;

    
    @Override
    public BasePagingResponse<List<PlacementPositionInfoDTO>> searchPlacementPositionInfo(final PlacementPositionInfoSearchRequest searchRequest) {
        return placementPositionInfoProvider.searchPlacementPositionInfo(searchRequest);
    }

    @Override
    public BasePagingResponse<List<PlacementPositionInfoDTO>> searchSoldierPositions(PlacementPositionInfoSearchRequest placementPositionInfoSearchRequest) {
        return placementPositionInfoProvider.searchSoldierPositions(placementPositionInfoSearchRequest);
    }

    
    @Override
    public BaseResponse<PlacementPositionInfoDTO> getPlacementPositionInfo(final BaseGetRequest baseGetRequest) {
        return placementPositionInfoProvider.getPlacementPositionInfo(baseGetRequest);
    }

    
    @Override
    public BaseResponse<String> insertPlacementPositionInfo(final PlacementPositionInfoInsertRequest insertRequest) {
        return placementPositionInfoProvider.insertPlacementPositionInfo(insertRequest);
    }

    @Override
    public BaseResponse<String> importPlacementPositions(SimpleApiRequest request) {
        return placementPositionInfoProvider.importPlacementPositions(request);
    }

    
    @Override
    public BaseResponse<Integer> updatePlacementPositionInfo(final PlacementPositionInfoUpdateRequest updateRequest) {
        return placementPositionInfoProvider.updatePlacementPositionInfo(updateRequest);
    }

    @Override
    public BaseResponse<Integer> publishPosition(PlacementPositionInfoUpdateRequest placementPositionInfoUpdateRequest) {
        return placementPositionInfoProvider.publishPosition(placementPositionInfoUpdateRequest);
    }

    @Override
    public BaseResponse<Integer> geneNextBatchPosition(PlacementPositionInfoUpdateRequest placementPositionInfoUpdateRequest) {
        return placementPositionInfoProvider.geneNextBatchPosition(placementPositionInfoUpdateRequest);
    }

    
    @Override
    public BaseResponse<Integer> deletePlacementPositionInfo(final BaseDeleteRequest deleteRequest) {
        return placementPositionInfoProvider.deletePlacementPositionInfo(deleteRequest);
    }

    @Override
    public BaseResponse<Integer> confirmPosition(PlacementSoldierAspirationResultInsertRequest request) {
        return placementPositionInfoProvider.confirmPosition(request);
    }

    @Override
    public BaseResponse<Integer> publishAllPosition(PlacementPositionInfoUpdateRequest updateRequest) {
        return placementPositionInfoProvider.publishAllPosition(updateRequest);
    }

    @Override
    public BaseResponse<Integer> addAspiration(PlacementSoldierAspirationResultInsertRequest request) {
        return placementPositionInfoProvider.addAspiration(request);
    }

    @Override
    public BaseResponse<Integer> checkPosition(PlacementPositionInfoUpdateRequest request) {
        return placementPositionInfoProvider.checkPosition(request);
    }

    @Override
    public BasePagingResponse<List<PlacementPositionInfoDTO>> searchCheckList(PlacementPositionInfoSearchRequest request) {
        return placementPositionInfoProvider.searchCheckList(request);
    }

    @Override
    public BaseResponse<Integer> addThoughTrain(PlacementPositionInfoUpdateRequest updateRequest) {
        return placementPositionInfoProvider.addThoughTrain(updateRequest);
    }

    @Override
    public BaseResponse<Integer> finishPlacementOfPosition(PlacementPositionInfoUpdateRequest updateRequest) {
        return placementPositionInfoProvider.finishPlacementOfPosition(updateRequest);
    }

    @Override
    public BaseResponse<Integer> finishPlacementOfOffline(PlacementPositionInfoUpdateRequest updateRequest) {
        return placementPositionInfoProvider.finishPlacementOfOffline(updateRequest);
    }

    @Override
    public BaseResponse<ExcelResultBO> exportPositionAspirationDetail(PlacementPositionInfoSearchRequest searchRequest) {
        return placementPositionInfoProvider.exportPositionAspirationDetail(searchRequest);
    }

    @Override
    public BaseResponse<Integer> checkPositionViewAuth(BaseGetRequest baseGetRequest) {
        return placementPositionInfoProvider.checkPositionViewAuth(baseGetRequest);
    }

    @Override
    public BaseResponse<Integer> initPws(CommonDataDictInsertRequest request) {
        return placementPositionInfoProvider.initPws(request);
    }

    @Override
    public BaseResponse<Integer> checkPws(CommonDataDictInsertRequest request) {
        return placementPositionInfoProvider.checkPws(request);
    }

    @Override
    public BaseResponse<Integer> deletePws(CommonDataDictInsertRequest request) {
        return placementPositionInfoProvider.deletePws(request);
    }

    @Override
    public BaseResponse<PlacementPositionInfoDTO> getByCode(String code) {
        return placementPositionInfoProvider.getByCode(code);
    }

    @Override
    public BaseResponse<Integer> toNextBatch(PlacementPositionInfoUpdateRequest request) {
        return placementPositionInfoProvider.toNextBatch(request);
    }

    @Override
    public BasePagingResponse<List<PlacementPositionInfoDTO>> searchPlacementPositionInfoWithUnified(PlacementPositionInfoSearchRequest searchRequest) {
        return placementPositionInfoProvider.searchPlacementPositionInfoWithUnified(searchRequest);
    }

    @Override
    public BasePagingResponse<List<PlacementPositionInfoDTO>> searchPlacementPositionInfoWithUnifiedOfAllAsp(PlacementPositionInfoSearchRequest searchRequest) {
        return placementPositionInfoProvider.searchPlacementPositionInfoWithUnifiedOfAllAsp(searchRequest);
    }

}
